package com.day0906;

import java.util.Scanner;

public class Text5 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("第一个数：");
        int num1 = in.nextInt();
        System.out.println("第二个数：");
        int num2 = in.nextInt();
        int temp = num1;
        num1 = num2;
        num2 = temp;
        System.out.println("交换后的第一个数为：" + num1);
        System.out.println("交换后的第一个数为：" + num2);
    }
}
